import '../src/assets/global.css';
import '@/utils/request.js';
import './router/premission';

// import 'ant-design-vue/dist/reset.css';
import { createApp } from 'vue';

import Antd from 'ant-design-vue';
import { createPinia } from 'pinia';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';

import App from './App.vue';
// import './registerServiceWorker'
import router from './router/index';

const pinia = createPinia();

pinia.use(piniaPluginPersistedstate)
createApp(App).use(pinia).use(router).use(Antd).mount('#app')